package net.oschina.app.viewpagerfragment.CollectionFragments;

import android.view.View;
import android.widget.TextView;

import com.jcodecraeer.xrecyclerview.XRecyclerView;

import net.oschina.app.R;
import net.oschina.app.util.UIUtils;
import net.oschina.app.viewpagerfragment.MyFragment.BaseItemFragment;

/**
 * Created by Administrator on 2017/4/5.
 */

public class InfoFragment extends BaseItemFragment{

    private XRecyclerView mXRecyclerView;

    @Override
    public void showItemFragmentView() {
        View view = View.inflate(UIUtils.getContext(), R.layout.nulldate_view,null);
        TextView textView = (TextView) view.findViewById(R.id.nulldate_tv);
        textView.setText("该用户很懒，什么都没有收藏");
       /* mXRecyclerView = (XRecyclerView) view.findViewById(R.id.base_detail_xrv);
        LinearLayoutManager manager = new LinearLayoutManager(MApp.mContext);
        mXRecyclerView.setLayoutManager(manager);*/
        changeView(view);
    }

    @Override
    public void loadDates() {
        /*CollectionAdapter adapter = new CollectionAdapter(UIUtils.getContext());
        mXRecyclerView.setAdapter(adapter);*/
    }
}
